package com.liming.common.pojo.entity.payment;

import com.baomidou.mybatisplus.annotation.TableName;
import com.liming.common.pojo.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * 支付状态日志实体类
 *
 * @author liming
 * @date 2025/1/3
 */
@Data
@TableName("se_payment_status_log")
@EqualsAndHashCode(callSuper = true)
public class PaymentStatusLog extends BaseEntity {

    /**
     * 关联的支付 ID
     */
    private Long paymentId;

    /**
     * 旧的状态码
     */
    private Integer oldStatus;

    /**
     * 新的状态码
     */
    private Integer newStatus;

    /**
     * 状态变更时间
     */
    private Date changeTime;

    /**
     * 状态变更描述或备注
     */
    private String description;

}
